package cn.pengyinrui.department.system.dept.mapper;

import cn.pengyinrui.department.system.dept.domain.Department;
import cn.pengyinrui.department.base.mapper.BaseMapper;
import cn.pengyinrui.department.system.dept.domain.DepartmentRO;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author peng.yr
 * @since 2023-01-20
 */
public interface DepartmentMapper extends BaseMapper<Department> {
    // 统计部门下员工的数量
    List<DepartmentRO> countByDepartmentId();

}
